// 统一处理 token Cookie

import Cookies from "js-cookie";
const TOKEN_KEY = "token";
//获取token
export const getToken = (name,value) => {
    return Cookies.get(name)
}
//设置token
export const setToken = (name, value) => {
    Cookies.set(name, value)
}
//删除token
export const removeToken = (name, value) => {
    Cookies.remove(name)
}